

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html  xmlns="http://www.w3.org/1999/xhtml"  
    xmlns:h="http://java.sun.com/jsf/html"  
    xmlns:f="http://java.sun.com/jsf/core"  
    xmlns:p="http://primefaces.org/ui">
    
    
    <f:view contentType="text/html"/>
    <h:head>
        <title>Hello World!</title>
    </h:head>
    
    
	<h:body>
	    <h:form id="responseform">
	    <h:graphicImage id="waveImg" url="#{resource['wave.med.gif']}" />
	    <h2>Hi _ _, #{helloBean.name}</h2>
	      <h:commandButton id="back" value="Back" action="hello" />
	    </h:form>
	    
	     <p:accordionPanel>
		<p:tab title="First Tab Title">
		<h:outputText value= "Lorem"/>
		...More content for first tab #{helloBean.name}
		</p:tab>
		<p:tab title="Second Tab Title">
		<h:outputText value="Ipsum" />
		</p:tab>
		//any number of tabs
		</p:accordionPanel>
	</h:body>
	
	
</html>
